package dto.houseForeclosureDto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
public class SaveSfContractForm {

	private Long lastContractId;
	private String lastContractNo;



	private String premiseName;


	private String houseInfo;

	private String houseId;

	private Integer houseType;


	private String houseZsNo;


	private String cqAddress;


	private String ownerName;

	private Integer certificateType;


	private String ownerIdCard;


	private String ownerMobile;


	private String ownerContactAddress;

	//是否为签约人 0:是   1:否
	private Integer signWithOwner;


	private String signUserName;


	private String signUserIdCard;


	private  String signUserMobile;


	private String signUserEmergencyPhone;

	private String bankCard;

	private String bankUserName;

	private String bankUserIdCard;

	private String bankOpen;

	private String bankName;

	/*******************5个新加字段start*********************/
    /**
     * 银行账户类型（对公账户、对私账户）AccountTypeEnum
     */
    private Long accountType;

    /**
     * 银行卡号
     */
    private String bankCardNumber;

    /**
     * 账户名称（对公为企业名称，对私为姓名）
     */
    private String accountName;

    /**
     * 联行行号（手输，对公必须）
     */
    private String bankBranchCodeLh;

    /**
     * 开户行所在省ID
     */
    private Integer bankAccountProvince;
 /*******************新加字段end*********************/
 	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date startDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date endDate;


	private String monthRent;


	private String depositMoney;

	private Integer depositType;

	private Integer paymentType;


	private String remark;

	private String[] houseDocumentPhotos;

	private String[] contractPhotos;

	private String[] cardPhotos;

	private String[] agentCardPhotos;

	private String[] bankCardInformationPhotos;

	private String[] attorneyPhotos;

	private String[] propertyDeliverys;

	private String[] otherPhotos;


	/**
	 * 合同总金额（非保存项）
	 */
	private BigDecimal totalAmount;
	/**
	 * 收款计划首期or押金日期变更标志（非保存项）
	 */
	private Integer preCycleChange;

	/*付款信息单*/
	List<CwPaymentPlanDto> payMentltems;


	private String username;


}
